package com.example.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName voj_submissions
 */
@TableName(value ="voj_submissions")
@Data
public class VojSubmissions implements Serializable {
    /**
     * 提交id
     */
    @TableId(type = IdType.AUTO)
    private Long submissionId;


    /**
     * 问题id
     */
    private Long problemId;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 所用语言
     */
    private Integer languageId;

    /**
     * 提交时间
     */
    private Date submissionSubmitTime;

    /**
     * 空间限制
     */
    private Date submissionExecuteTime;

    /**
     * 代码运行时间
     */
    private Integer submissionUsedTime;

    /**
     * 代码运行空间
     */
    private Integer submissionUsedMemory;

    /**
     * 提交结果
     */
    private String submissionJudgeResult;

    /**
     * 分数
     */
    private Integer submissionJudgeScore;

    /**
     * 提交日志
     */
    private String submissionJudgeLog;

    /**
     * 提交的代码
     */
    private String submissionCode;

    /**
     * 来源模块，题库voj，培训train，考试exam
     */
    private String sourceModule;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}